From a547574bd332a121fcfb11a3f9dff26a87e96983 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 16 Sep 2006 18:23:05 +0000 Subject: [PATCH] * startup.el (fancy-splash-screens): Don't switch to the scratch buffer; it may not be the next buffer. --- lisp/ChangeLog | 5 +++++ lisp/startup.el | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8b42d9fd836..926318a4f56 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2006-09-16 Chong Yidong + + * startup.el (fancy-splash-screens): Don't switch to the scratch + buffer; it may not be the next buffer. + 2006-09-16 Romain Francoise * saveplace.el (load-save-place-alist-from-file): Use expanded name diff --git a/lisp/startup.el b/lisp/startup.el index c3d0fc1a765..8ac1cef5237 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -1383,11 +1383,7 @@ mouse." (setq display-hourglass old-hourglass minor-mode-map-alist old-minor-mode-map-alist emulation-mode-map-alists old-emulation-mode-map-alists) - (use-local-map nil) - (switch-to-buffer "*scratch*") -;;; Comment out the next line in order to see the splash buffer exactly as it was. - (kill-buffer splash-buffer) - )))) + (kill-buffer splash-buffer))))) ;; If hide-on-input is nil, don't hide the buffer on input. (if (or (window-minibuffer-p) (window-dedicated-p (selected-window))) -- 2.30.2